package interfas;

import model.SurveyDAO;
import model.UserDAO;

import org.mybeans.dao.DAOException;

import databeans.Sid_Respondent;
import databeans.Survey;

public interface Sid_RespondentInterface {

	public abstract void create(Sid_Respondent sr, SurveyDAO surveyDAO, UserDAO userDAO) throws DAOException;
	public abstract Sid_Respondent lookup(int sid, String respid) throws DAOException;
	public abstract Survey[] getSurveyByResp(String respid, SurveyDAO surveyDAO) throws DAOException;
	public abstract int numRespondents(int sid) throws DAOException;
	public abstract int numCompleted(int sid) throws DAOException;
	public abstract void updateCompleted(Sid_Respondent sr) throws DAOException;
	public abstract int size() throws DAOException;
	
}
